# -*- coding: utf-8 -*-
# @Author : cm_Simple
# @Time : 2022/1/5
# @Remark: 温湿度 db 层
from db.common.IOTManager.Water.water import (WaterCheckDB,
                                              WaterDevicesDB)


class TemHumidityCheckDB(WaterCheckDB):
    """
    温湿度监测实体 DB
    """
    device_type = "TemperatureHumidity"

    def __init__(self):
        super().__init__()
        self.like_name = 'TemperatureHumidity'
        self.status_param = 'water_status'


class TemHumidityDevicesDB(WaterDevicesDB):
    """
    温湿度设备实体 DB
    """

    def __init__(self):
        super().__init__()
        self.like_name = 'TemperatureHumidity'
